﻿using Abp.Application.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Choucius.Boilerplate9.UR5002
{
    /// <summary>
    /// UR5002桌面式RFID读写器
    /// </summary>
    public interface IUR5002AppService : IApplicationService
    {
        /// <summary>
        /// 调用UR5002读写器读取一次RFID标签
        /// </summary>
        /// <returns></returns>
        List<string> UR5002Read();

        /// <summary>
        /// 调用UR5002读写器写入一个RFID标签，并保存标签信息
        /// </summary>
        /// <returns></returns>
        Task UR5002WriteAndSaveAsync(string sn);
    }
}
